-
Notifications
You must be signed in to change notification settings - Fork 3
chore: [SECURITY-1357] standardize string quotes #1392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Chore: standardize string quotes in workflow https://docs.github.com/en/actions/reference/security/secure-use#good-practices-for-mitigating-script-injection-attacks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR addresses a security concern by standardizing string quotes in GitHub Actions workflows to mitigate script injection attacks. The changes move from direct expression interpolation to environment variables with proper quoting, following GitHub's security best practices.
Key changes:
- Replaced single quotes with double quotes for YAML string values (descriptions, step names, node version)
- Migrated inline GitHub context expressions (
${{ }}) to environment variables to prevent shell injection - Added proper quoting around shell variable references in conditional statements
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/vercel.yaml | Standardized quotes and moved GitHub context values to environment variables for three Vercel deployment steps |
| .github/workflows/publish.yaml | Standardized quotes and secured shell script by using environment variables instead of inline expressions |
| .github/workflows/build.yaml | Standardized quotes and moved ref_name to environment variable in echo step |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
.github/workflows/publish.yaml
Outdated
| - name: 'Merge changes downstream' | ||
| if: ${{ !inputs.publish-prerelease }} | ||
| - name: "Merge changes downstream" | ||
| if: ${{ !inputs.publish-prelease }} |
Copilot
AI
Jan 9, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected spelling of 'prelease' to 'prerelease'.
Chore: standardize string quotes in workflow